package com.teamall.web.family.db.dao.mapper;

import com.teamall.web.family.db.arg.FamilyReplyArg;
import com.teamall.web.family.db.po.FamilyReplyPO;

import java.math.*;
import java.util.*;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface IFamilyReplyMapper {
    
    List<Integer> countByArg(FamilyReplyArg arg);

    List<FamilyReplyPO> selectByArg(FamilyReplyArg arg);

    FamilyReplyPO selectByPrimaryKey(Integer id);

    List<FamilyReplyPO> selectByArgAndPage(FamilyReplyArg arg, RowBounds rowBound);

    int insert(FamilyReplyPO record);

    int insertSelective(FamilyReplyPO record);

    int insertBatch(@Param("list") List<FamilyReplyPO> records);

    int updateByArgSelective(@Param("record") FamilyReplyPO record,
                             @Param("arg") FamilyReplyArg arg);

    int updateByArg(@Param("record") FamilyReplyPO record,
                    @Param("arg") FamilyReplyArg arg);

    int updateByPrimaryKeySelective(FamilyReplyPO record);

    int updateByPrimaryKey(FamilyReplyPO record);
    
    int deleteByArg(FamilyReplyArg arg);
    
    int deleteByPrimaryKey(Integer id);
    
}